package aod.android.com.bernay.view.activity;

import android.view.View;
import android.widget.ImageView;

import com.bumptech.glide.Glide;

import aod.android.com.bernay.R;
import aod.android.com.bernay.base.BernayBaseActivity;
import chen.lion.hilib.view.bind.HiView;

public class ImageInfoActivity extends BernayBaseActivity {


    @HiView(R.id.image)
    private ImageView mInfoView;
    @Override
    protected int initLayout() {
        return R.layout.activity_imageinfo;
    }

    @Override
    protected void initData() {
        String path = getIntent().getStringExtra("path");
        Glide.with(this).load(path).into(mInfoView);
        mInfoView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onBackPressed();
            }
        });
    }
}
